{# index page --wangxi #}
{% extends 'ShopAdminBundle::my_table_index.html.twig' %}

{% set _module,_current='品牌','品牌列表' %}

{% set tb_head=['#','品牌名','描述']%}

{% set bundle_name='brand' %}

{% set edit_url='admin_brand_edit' %}

{% block item_body %}
    {% set origin_desc=entity.description %}

    <td>{{ entity.id }}</td>
    <td>{{ entity.name }}</td>
    <td title="{{ origin_desc }}">
        {{ origin_desc|slice(0,30) }}</td>
{% endblock %}

{% block plugin_js %}

{% endblock %}